import request from '../util/request.js'
const baseUrl="task/"

export function getTaskList(data){
	return request.get(baseUrl+ "list",data ,{noAuth:false})
}


export function getHomeTaskList(data){
	return request.get(baseUrl+ "home/list",data ,{noAuth:true})
}

export function getoffTaskDet(data){
	return request.get("official/task/detail",data ,{noAuth:false})
}
export function getoffTaskList(data){
	return request.get("official/task/user/list",data ,{noAuth:false})
}